DIR /B >name.txt